from django.contrib import admin
from django.urls import path, include
from rest_framework.documentation import include_docs_urls

urlpatterns = [
    path('admin/', admin.site.urls),
    path('study/', include('study.urls')),
    path('docs/', include_docs_urls('LMS API接口文档')),  # 配置API接口文档路径
    path('user/', include('user.urls')),
    path('school/', include('school.urls')),
    path('rest_framework/', include('rest_framework.urls')),  # 测试页面登录接口
    path('work/', include('work.urls')),
    path('community/', include('community.urls')),
    path('shopping/', include('shopping.urls')),
]
